﻿using mtfNet;
using MyControl;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SQLite;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
using static Project.global;

namespace Project
{
    public partial class InfoDlg : DockContent
    {
        public InfoDlg()
        {
            InitializeComponent();
            MVision.gv.LogDispCtrl = richTextBoxLog;
            InitDgv();
        }

        void InitDgv()
        {
            dgv_data.RowCount = 100;
            dgv_data.InitOrderAtColumn(0);
            dgv_data.ForeColor = Color.Black;
            dgv_data.CellValueChanged += OnCellValueChanged;



        }

        private void OnCellValueChanged(object sender, DataGridViewCellEventArgs e)
        {
            MyDataGridView dgv = (MyDataGridView)sender;
            if(dgv.Name== "dgv_data")
            {
             

            }
        }
    }
}
